<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>聚学院-行业资讯-资讯详情</title>
    <link rel="stylesheet" href="../../lib/css/reset.min.css">
    <link rel="stylesheet" href="../../css/all.min.css">
    <link rel="stylesheet" href="../../lib/css/elementui.min.css">

</head>

<body>
    <div class="app-wrap" v-cloak id="jxy_zixun_detail">
        <header-top :loginName="loginName"></header-top>
        <header-search-global type="企业"></header-search-global>
        <common-top-nav cur="聚学院"></common-top-nav>
        <div class="bg-gray">
            <common-crumb :crumblist="crumblist"></common-crumb>
            <div class="container mt-20">
                <base-article :article="article" v-if="article">
                    <button slot="shouc" @click="shouc" v-if="!article.beCollected">收藏</button>
                    <button slot="shouc" @click="shouc" v-if="article.beCollected">取消收藏</button>
                    <p class="date" slot="date">
                        <i class="icon-clock"></i> {{article.createTime1}}
                        <span class="blank"></span><i class="icon-comment"></i> {{article.commentCount}}
                    </p>

                    <!-- 点赞 -->
                    <div class="zan" @click="dianzan" slot="baoming">
                        <i class="icon-zan"></i>
                        <p>{{article.likeNumber}}</p>
                    </div>

                    <div class="article-comment mt-20" slot="comment">
                        <!-- 发表评论 -->
                        <div class="pinglun">
                            <textarea v-model="mysay" placeholder="说点什么..."></textarea>
                            <div class="btn-wrap"><button @click="commitPinlun">评论</button></div>
                        </div>
                        <div class="comment-count">全部评论{{article.commentNumber}}</div>

                        <!-- 评论列表 -->
                        <ul class="comment-list">
                            <li v-for="item in commentList" v-if="">
                                <img class="toux" :src="item.picUrl">
                                <div class="right-wrap">
                                    <p>
                                        <span class="nickname">{{item.nickname}}</span>
                                        <span class="time">{{item.createTime1}}</span>
                                    </p>
                                    <p class="content">{{item.content}}</p>
                                </div>
                            </li>
                        </ul>
                        <div class="comment-more" @click="showMoreComment" v-if="showMore">
                            查看更多评论
                        </div>
                    </div>
                </base-article>
            </div>

        </div>
    </div>
    <script src="../../lib/js/vue.js"></script>
    <script src="../../lib/js/axios.min.js"></script>
    <script src="../../lib/js/elementui.min.js"></script>
    <!-- mock 数据 打包发布的时候记得移除 -->
    <script src="../../lib/js/mock.js"></script>
    <script src="../../js/all.min.js"></script>
    <script>
        jxy_zixun_detail();
    </script>
</body>

</html>